
import 'package:flutter/services.dart';

import 'ni_map_method_id.dart';

class NIBaseDispatcher {
  ///刷新地图
  Future updateMap(MethodChannel _mapChannel, {bool redraw = false}) async {
    await _mapChannel
        .invokeMethod(NIBaseMethodId.kMapUpdateMap, {"redraw": redraw});
  }
}
